package com.lq.common.service;

import com.lq.common.enums.PageNameEnum;
import com.lq.common.param.ResponseParam;
import com.lq.common.param.request.ShortPageReq;

import java.text.ParseException;

/**
 * @author 权哥
 * @version 1.0
 * @date 2023/7/21 22:59
 */
public interface ShortPageService {

    /**
     * 插入短文
     */
    void insert(PageNameEnum url) throws ParseException, InterruptedException;

    /**
     * 发送语录邮件
     * @param type
     */
    void sendPage(String type);

    ResponseParam findList(ShortPageReq req);
}
